package com.newcoin.admin.mapper;

import com.newcoin.admin.entity.NewCoinAppVersion;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Component
public interface CommonMapper {

    BigDecimal totalRecharge();

    BigDecimal totalWithdraw();

    NewCoinAppVersion getAppVersionInfo();

    int updateAppVersion(@Param("version") String version, @Param("wGetUrl") String wGetUrl, @Param("appUrl") String appUrl, @Param("status") Integer status, @Param("remark") String remark);


}
